package com.hp.tiger.chapter7;

import java.util.stream.IntStream;

/**
 * @author XavierDong
 **/
public class ImmutableClinet {
    public static void main(String[] args) {
        //share data
        final Person person = new Person("ALex", "Gansu");

        IntStream.rangeClosed(0,5).forEach(i->new UsePersonThread(person).start());
    }
}
